#!/bin/bash

function sshcmd()
{
    sh "${BUILD_PATH}/tools/safe_sshcmd.sh" -c "$1" -m "${OBSSERVER_IP}" -u "${USER}" -p "${OBSPASSWD}" -t 120 -n 3
}

function sshscp()
{
    sh "${BUILD_PATH}/tools/safe_sshscp.sh" -p "${OBSPASSWD}" -s "$1" -d "${OBSSERVER_IP}:$2" -r -t 120 -n 3
}

function sshscp_from()
{
    sh "${BUILD_PATH}/tools/safe_sshscp.sh" -p "${OBSPASSWD}" -s "${OBSSERVER_IP}:$1" -d "$2" -r -t 120 -n 3
}

